<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#assign moduleName="所有资产管理公司">
                    <#include "banner.html">
                        <!--面包屑导航---}-->

                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">
                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <form action="" method="post">
                                <table class="data-list">
                                    <tr class="header">
                                        <td>用户注册号</td>
                                        <td>关联用户</td>
                                        <td>商铺名称</td>
                                        <td>商铺logo</td>
                                        <td>运营公司</td>
                                        <td>法人</td>
                                        <td>手机/固话</td>
                                        <td>地址</td>
                                        <td>注册资金</td>
                                        <td>公司介绍</td>
                                        <td>公司类型</td>
                                        <td>入驻时间</td>
                                        <td>主营产品</td>
                                        <td>是否启用</td>
                                        <td>活动简介</td>
                                        <td>模板</td>
                                        <!--<td>样式</td> -->
                                        <td>操作</td>
                                    </tr>
                                    <#list list as item>
                                        <tr class="s">
                                            <td ><#if item.user??>${item.user.userId}<#else>-</#if></td>
                                            <td class="tal"><#if item.user??>昵称：${item.user.showName}<br>手机：${item.user.phone!''}<br>邮箱：${item.user.email!''}<#else>-</#if></td>
                                            <td class="tal">${item.name!0}</td>
                                            <td  class="tal"><#if item.logo??><img src="${item.logo!}" height="70"></#if></td>
                                            <td class="tal">${item.company!}</td>
                                            <td class="tal">${item.legalPerson!}</td>
                                            <td class="tal">手机：${item.phone!}<br>固话：${item.tel!}</td>
                                            <td class="tal">省市：<#if item.province??>${item.province.name!}</#if>-<#if item.city??>${item.city.name!}</#if><br>
                                                地址：${item.address!}
                                            </td>
                                            <td class="tal">${item.registerFunds!0}万</td>
                                            <td class="tal"><div class="s_company">${item.intro!}</div></td>
                                            <td class="tal"><#if item.companyType??>${item.companyType.name!}<#else>-</#if></td>
                                            <td class="tal"><#if item.franchiseeTime??>${item.franchiseeTime?string("yyyy-MM-dd")}<#else>-</#if></td>
                                            <td class="tal"><#if item.borrowProduct??>${item.borrowProduct?replace("102,103","零钱通")?replace("110", "钱保宝")?replace("101", "欢乐送")}</#if></td>
                                            <td><#if item.status??><#if item.status==1><font color="#009900">是</font><#else>
                                                <font color="#FF0000">否</font></#if><#else><font color="#FF0000">否</font></#if>
                                            </td>
                                            <td class="tal">${item.activity!}</td>
                                            <td class="tal">${item.indexTemplate!}</td>
                                            <!--<td class="tal">${item.pageCss!}</td>-->
                                            <td class="tal">
                                                <dd><a class="un" href="/admin/franchisee/openFranchisee.html?fid=${item.id?c}">开通</a></dd>
                                                <dd><a class="un" href="/admin/franchisee/franchiseeBorrowConfig.html?fid=${item.id?c}">配置参数</a></dd>
                                                <dd><a class="un" href="/admin/franchisee/modifyFranchisee.html?id=${item.id?c}">修改</a></dd>
                                                <dd><a class="un" href="/admin/franchisee/delFranchisee.html?id=${item.id?c}">删除</a></dd>
                                            </td>
                                        </tr>
                                    </#list>
                                </table>
                            </form>
                        </div>
        </div>
    </div>
    <div class="mc-b">
        <#include "../foot.html">
    </div>
    <#include "../jsPage.html">
        <script>
            var url = '/admin/file/file.html?search=true';
            var xlsurl = 'log.html?type=export';

            function sousuo(){
                var sou = "";
                var username = $("#username").val();
                if (username!=""&&username!="请输入用户名"){
                    sou += "&username="+username;
                }

                var dotime1 = $("#dotime1").val();
                var dotime2 = $("#dotime2").val();
                var type = $("#type").val();

                if (dotime1!=null){
                    sou += "&dotime1="+dotime1;
                }
                if (dotime2!=null){
                    sou += "&dotime2="+dotime2;
                }
                if (type!=null){
                    sou += "&type="+type;
                }

                location.href=url+sou;
            }
        </script>
    </body>
</html>

